package com.huge.simple.system.service.impl;

import com.huge.simple.system.entity.SysTableColumn;
import com.huge.simple.system.mapper.SysTableColumnMapper;
import com.huge.simple.system.service.SysTableColumnService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jihu
 * date 2022-03-29
 */
@Service("sysTableColumnService")
public class SysTableColumnServiceImpl implements SysTableColumnService {

    @Autowired
    private SysTableColumnMapper sysTableColumnMapper;

    @Override
    public List<SysTableColumn> getTableColumn(String tableName) {
        return sysTableColumnMapper.selectTableColumn(tableName);
    }
}
